<?php
namespace app\models\request;

use yii\base\Model;

class ReqBindPhone extends Model
{
    private $phoneToken;

    private $userId;


    /**
     * @return mixed
     */
    public function getPhoneToken()
    {
        return $this->phoneToken;
    }

    /**
     * @param mixed $phoneToken
     */
    public function setPhoneToken($phoneToken)
    {
        $this->phoneToken = $phoneToken;
    }

    /**
     * @return mixed
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * @param mixed $userId
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;
    }





    public function rules()
    {
        return [
            [['phoneToken'], 'required'],
        ];
    }


}